home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / cp2dekit / h / psetting.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-12-29  |  1.4 KB  |  35 lines

  1. //***************************************************************************
  2. //
  3. // this file is (c) '94-'96 Niklas Beisert
  4. //
  5. // this file is part of the cubic player development kit.
  6. // you may only use/modify/spread this file under the terms stated
  7. // in the cubic player development kit accompanying documentation.
  8. //
  9. //***************************************************************************
  10.  
  11. #ifndef __PSETTING_H
  12. #define __PSETTING_H
  13.  
  14. void cfGetConfig(const char *cppath, const char *cmdline);
  15. void cfCloseConfig();
  16. int cfCountSpaceList(const char *str, int maxlen);
  17. int cfGetSpaceListEntry(char *buf, const char *&str, int maxlen);
  18. const char *cfGetProfileString(const char *app, const char *key, const char *def);
  19. const char *cfGetProfileString2(const char *app, const char *app2, const char *key, const char *def);
  20. int cfGetProfileBool(const char *app, const char *key, int def, int err);
  21. int cfGetProfileBool2(const char *app, const char *app2, const char *key, int def, int err);
  22. int cfGetProfileInt(const char *app, const char *key, int def, int radix);
  23. int cfGetProfileInt2(const char *app, const char *app2, const char *key, int def, int radix);
  24.  
  25. extern const char *cfConfigSec;
  26. extern const char *cfSoundSec;
  27. extern const char *cfScreenSec;
  28. extern const char *cfCommandLine;
  29.  
  30. extern char cfConfigDir[];
  31. extern char cfDataDir[];
  32. extern char cfTempDir[];
  33.  
  34. #endif
  35.